package com.trontria.simpledatamodel;

public abstract class Field {
	private String mName;
	private int mType;
	
	protected Field(String name, int type) {
		name(name);
		type(type);
	}
	
	public String name() {
		return mName;
	}

	public void name(String mName) {
		this.mName = mName;
	}

	public int type() {
		return mType;
	}

	public void type(int mType) {
		this.mType = mType;
	}
	
	public static class FieldType {
		public static final int FIELD_TYPE_INT 		= 0x000;
		public static final int FIELD_TYPE_STRING 	= 0x001;
	}
}